<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script>
        let arrays = [1, 2, 3, 4, 5, 6, 11];
        for (item of arrays) {
            console.log(item);
        }

        for(index in arrays){
            console.log(arrays[index]);
        }

        arrays.forEach((item)=>{
            console.log(item);
        });
        for(let i=0 ,len = arrays.length;i<len;i++){
            console.log(arrays[i]);
        }

    </script>
</head>

<body>

</body>

</html>